import request from '/@/utils/request';

export function fetchRealTimeData(imei?: string) {
	return request({
		url: '/platform/realTimeData/' + imei,
		method: 'get',
	});
}

export function fetchRealTimeDataList(query?: Object) {
	return request({
		url: '/platform/realTimeData/page',
		method: 'get',
		params: query,
	});
}

export function attributeCurve(query?: Object) {
	return request({
		url: '/platform/realTimeData/attributeCurve',
		method: 'get',
		params: query,
	});
}
